package android_design_mode.chapter06_abstract_factory.audifactory;

import android_design_mode.chapter06_abstract_factory.audifactory.breaks.IBrake;
import android_design_mode.chapter06_abstract_factory.audifactory.breaks.NormalBrake;
import android_design_mode.chapter06_abstract_factory.audifactory.engine.DomesticEngine;
import android_design_mode.chapter06_abstract_factory.audifactory.engine.IEngine;
import android_design_mode.chapter06_abstract_factory.audifactory.tire.ITire;
import android_design_mode.chapter06_abstract_factory.audifactory.tire.NormalTire;

public class Q3Factory extends CarFactory {
    @Override
    public ITire createTire() {
        return new NormalTire();
    }

    @Override
    public IEngine createEngine() {
        return new DomesticEngine();
    }

    @Override
    public IBrake createBrake() {
        return new NormalBrake();
    }
}
